# 文件操作
# 打开方式有两种，第一
# 种代开方式
# f=open(r'username.txt',mode=r'w\a\r\rb',encoding='utf-8')
# print(f.read())
# # 第二种方式
# with open(r'username.txt',mode=r'w\a\r\rb',encoding='utf-8') as f:
#     f.read()
#     f.write('内容')
# # 第二种方式可以打开多个文件
# with open(r'caomei.png', mode='rb') as f1, open(r'caomei2.png', mode='wb') as f2:
#     data_discuz = f1.read()
#     f2.write(data_discuz)


    